#ifndef SUBJECT_H_
#define SUBJECT_H_

#include <string>
#include <iostream>
using namespace std;

class Subject{
    string id;
	string sname;
	string stype;
	short credit;
	string presub;
	short percent_midterm;

public:
    Subject();
    Subject(string i_id,string i_sname,string i_stype,short i_credit,string i_presub,short i_percent_midterm);
    void Show();
    void Set_sname(string n_sname);
    void Set_stype(string n_stype);
    void Set_credit(short n_credit);
    void Set_presub(string n_presub);
    void Set_percent_midterm(short n_percent_midterm);
    string Get_id();
    string Get_sname();
    string Get_stype();
    short Get_credit();
    string Get_presub();
    short Get_percent_midterm();
};

#endif // SUBJECT_H_
